package com.example.classload;

public class User {

    private Integer userId;
    private String idCard;
    private String userName;
    private Integer score;

    public User(Integer userId, String idCard, String userName) {
        this.userId = userId;
        this.idCard = idCard;
        this.userName = userName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", idCard='" + idCard + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
